package com.wocai.jrt.orgadmin.enterprise.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.enterprise.dao.FinancialAssetsLiabilitiesDao;
import com.wocai.jrt.orgadmin.enterprise.model.FinancialAssetsLiabilities;
import com.wocai.jrt.orgadmin.enterprise.model.FinancialAssetsLiabilitiesBean;
import com.wocai.jrt.orgadmin.enterprise.service.spi.FinancialAssetsLiabilitiesService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 资产负债表相关的service业务实现。
 * @author yinlei
 * @date 2016-5-6 14:22:15
 */
@Named
public class FinancialAssetsLiabilitiesServiceImpl extends MyBatisServiceImpl<FinancialAssetsLiabilities, FinancialAssetsLiabilitiesBean, String> implements FinancialAssetsLiabilitiesService {
	// 添加了方法后，记得改为private
	protected FinancialAssetsLiabilitiesDao financialAssetsLiabilitiesDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<FinancialAssetsLiabilities, FinancialAssetsLiabilitiesBean, String> financialAssetsLiabilitiesDao) {
		this.baseDao = financialAssetsLiabilitiesDao;
		this.financialAssetsLiabilitiesDao = (FinancialAssetsLiabilitiesDao) financialAssetsLiabilitiesDao;
	}
}
